import { View } from "@tarojs/components";
import { useLoad } from "@tarojs/taro";
import { useEffect } from "react";
import './index.scss';

export default function Index(props) {
  useEffect(() => { 
    console.log('====1111');
    
  },[])
    useLoad(() => {
      console.log('Page loaded2222.')
    })
  // const { name='楠楠' , age='10' }= props
  return (
    <View>
    需要从父级传递内容
    你的名字 
    {/* { name}; */}
    {/* 年龄{age } */}
  </View>
  )
 }